package com.daisuxia.baofoo;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.context.WebApplicationContext;

/**
 * Created by dhl on 2017/5/25.
 */

public class BaseUtils {
	protected static String pfxpath;
	protected static String cutpfxpath;
	protected static String cerpath;

	protected static String version;
	protected static String member_id;
	protected static String auth_terminal_id;

	static {

		//宝付
		pfxpath = PropertiesUtil.get("file.auth.pfx.name");//商户私钥 认证
		cutpfxpath = PropertiesUtil.get("file.pfx.name");//商户私钥 代扣
		cerpath = PropertiesUtil.get("file.cer.name");//宝付公钥

		version = PropertiesUtil.get("version");
		member_id = PropertiesUtil.get("member.id");//商户号
		auth_terminal_id = PropertiesUtil.get("auth.terminal.id");//终端号
	}

}
